package com.scm.persist.model;

import java.util.ArrayList;
import java.util.List;

public class ScmProductDetailOmsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ScmProductDetailOmsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNull() {
            addCriterion("tenant_id is null");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNotNull() {
            addCriterion("tenant_id is not null");
            return (Criteria) this;
        }

        public Criteria andTenantIdEqualTo(Long value) {
            addCriterion("tenant_id =", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotEqualTo(Long value) {
            addCriterion("tenant_id <>", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThan(Long value) {
            addCriterion("tenant_id >", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThanOrEqualTo(Long value) {
            addCriterion("tenant_id >=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThan(Long value) {
            addCriterion("tenant_id <", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThanOrEqualTo(Long value) {
            addCriterion("tenant_id <=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdIn(List<Long> values) {
            addCriterion("tenant_id in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotIn(List<Long> values) {
            addCriterion("tenant_id not in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdBetween(Long value1, Long value2) {
            addCriterion("tenant_id between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotBetween(Long value1, Long value2) {
            addCriterion("tenant_id not between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andScmProductIdIsNull() {
            addCriterion("scm_product_id is null");
            return (Criteria) this;
        }

        public Criteria andScmProductIdIsNotNull() {
            addCriterion("scm_product_id is not null");
            return (Criteria) this;
        }

        public Criteria andScmProductIdEqualTo(Long value) {
            addCriterion("scm_product_id =", value, "scmProductId");
            return (Criteria) this;
        }

        public Criteria andScmProductIdNotEqualTo(Long value) {
            addCriterion("scm_product_id <>", value, "scmProductId");
            return (Criteria) this;
        }

        public Criteria andScmProductIdGreaterThan(Long value) {
            addCriterion("scm_product_id >", value, "scmProductId");
            return (Criteria) this;
        }

        public Criteria andScmProductIdGreaterThanOrEqualTo(Long value) {
            addCriterion("scm_product_id >=", value, "scmProductId");
            return (Criteria) this;
        }

        public Criteria andScmProductIdLessThan(Long value) {
            addCriterion("scm_product_id <", value, "scmProductId");
            return (Criteria) this;
        }

        public Criteria andScmProductIdLessThanOrEqualTo(Long value) {
            addCriterion("scm_product_id <=", value, "scmProductId");
            return (Criteria) this;
        }

        public Criteria andScmProductIdIn(List<Long> values) {
            addCriterion("scm_product_id in", values, "scmProductId");
            return (Criteria) this;
        }

        public Criteria andScmProductIdNotIn(List<Long> values) {
            addCriterion("scm_product_id not in", values, "scmProductId");
            return (Criteria) this;
        }

        public Criteria andScmProductIdBetween(Long value1, Long value2) {
            addCriterion("scm_product_id between", value1, value2, "scmProductId");
            return (Criteria) this;
        }

        public Criteria andScmProductIdNotBetween(Long value1, Long value2) {
            addCriterion("scm_product_id not between", value1, value2, "scmProductId");
            return (Criteria) this;
        }

        public Criteria andItemcodeIsNull() {
            addCriterion("itemCode is null");
            return (Criteria) this;
        }

        public Criteria andItemcodeIsNotNull() {
            addCriterion("itemCode is not null");
            return (Criteria) this;
        }

        public Criteria andItemcodeEqualTo(String value) {
            addCriterion("itemCode =", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeNotEqualTo(String value) {
            addCriterion("itemCode <>", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeGreaterThan(String value) {
            addCriterion("itemCode >", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeGreaterThanOrEqualTo(String value) {
            addCriterion("itemCode >=", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeLessThan(String value) {
            addCriterion("itemCode <", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeLessThanOrEqualTo(String value) {
            addCriterion("itemCode <=", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeLike(String value) {
            addCriterion("itemCode like", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeNotLike(String value) {
            addCriterion("itemCode not like", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeIn(List<String> values) {
            addCriterion("itemCode in", values, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeNotIn(List<String> values) {
            addCriterion("itemCode not in", values, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeBetween(String value1, String value2) {
            addCriterion("itemCode between", value1, value2, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeNotBetween(String value1, String value2) {
            addCriterion("itemCode not between", value1, value2, "itemcode");
            return (Criteria) this;
        }

        public Criteria andOmsProductIdIsNull() {
            addCriterion("oms_product_id is null");
            return (Criteria) this;
        }

        public Criteria andOmsProductIdIsNotNull() {
            addCriterion("oms_product_id is not null");
            return (Criteria) this;
        }

        public Criteria andOmsProductIdEqualTo(String value) {
            addCriterion("oms_product_id =", value, "omsProductId");
            return (Criteria) this;
        }

        public Criteria andOmsProductIdNotEqualTo(String value) {
            addCriterion("oms_product_id <>", value, "omsProductId");
            return (Criteria) this;
        }

        public Criteria andOmsProductIdGreaterThan(String value) {
            addCriterion("oms_product_id >", value, "omsProductId");
            return (Criteria) this;
        }

        public Criteria andOmsProductIdGreaterThanOrEqualTo(String value) {
            addCriterion("oms_product_id >=", value, "omsProductId");
            return (Criteria) this;
        }

        public Criteria andOmsProductIdLessThan(String value) {
            addCriterion("oms_product_id <", value, "omsProductId");
            return (Criteria) this;
        }

        public Criteria andOmsProductIdLessThanOrEqualTo(String value) {
            addCriterion("oms_product_id <=", value, "omsProductId");
            return (Criteria) this;
        }

        public Criteria andOmsProductIdLike(String value) {
            addCriterion("oms_product_id like", value, "omsProductId");
            return (Criteria) this;
        }

        public Criteria andOmsProductIdNotLike(String value) {
            addCriterion("oms_product_id not like", value, "omsProductId");
            return (Criteria) this;
        }

        public Criteria andOmsProductIdIn(List<String> values) {
            addCriterion("oms_product_id in", values, "omsProductId");
            return (Criteria) this;
        }

        public Criteria andOmsProductIdNotIn(List<String> values) {
            addCriterion("oms_product_id not in", values, "omsProductId");
            return (Criteria) this;
        }

        public Criteria andOmsProductIdBetween(String value1, String value2) {
            addCriterion("oms_product_id between", value1, value2, "omsProductId");
            return (Criteria) this;
        }

        public Criteria andOmsProductIdNotBetween(String value1, String value2) {
            addCriterion("oms_product_id not between", value1, value2, "omsProductId");
            return (Criteria) this;
        }

        public Criteria andItemnameIsNull() {
            addCriterion("itemName is null");
            return (Criteria) this;
        }

        public Criteria andItemnameIsNotNull() {
            addCriterion("itemName is not null");
            return (Criteria) this;
        }

        public Criteria andItemnameEqualTo(String value) {
            addCriterion("itemName =", value, "itemname");
            return (Criteria) this;
        }

        public Criteria andItemnameNotEqualTo(String value) {
            addCriterion("itemName <>", value, "itemname");
            return (Criteria) this;
        }

        public Criteria andItemnameGreaterThan(String value) {
            addCriterion("itemName >", value, "itemname");
            return (Criteria) this;
        }

        public Criteria andItemnameGreaterThanOrEqualTo(String value) {
            addCriterion("itemName >=", value, "itemname");
            return (Criteria) this;
        }

        public Criteria andItemnameLessThan(String value) {
            addCriterion("itemName <", value, "itemname");
            return (Criteria) this;
        }

        public Criteria andItemnameLessThanOrEqualTo(String value) {
            addCriterion("itemName <=", value, "itemname");
            return (Criteria) this;
        }

        public Criteria andItemnameLike(String value) {
            addCriterion("itemName like", value, "itemname");
            return (Criteria) this;
        }

        public Criteria andItemnameNotLike(String value) {
            addCriterion("itemName not like", value, "itemname");
            return (Criteria) this;
        }

        public Criteria andItemnameIn(List<String> values) {
            addCriterion("itemName in", values, "itemname");
            return (Criteria) this;
        }

        public Criteria andItemnameNotIn(List<String> values) {
            addCriterion("itemName not in", values, "itemname");
            return (Criteria) this;
        }

        public Criteria andItemnameBetween(String value1, String value2) {
            addCriterion("itemName between", value1, value2, "itemname");
            return (Criteria) this;
        }

        public Criteria andItemnameNotBetween(String value1, String value2) {
            addCriterion("itemName not between", value1, value2, "itemname");
            return (Criteria) this;
        }

        public Criteria andFrgnnameIsNull() {
            addCriterion("frgnName is null");
            return (Criteria) this;
        }

        public Criteria andFrgnnameIsNotNull() {
            addCriterion("frgnName is not null");
            return (Criteria) this;
        }

        public Criteria andFrgnnameEqualTo(String value) {
            addCriterion("frgnName =", value, "frgnname");
            return (Criteria) this;
        }

        public Criteria andFrgnnameNotEqualTo(String value) {
            addCriterion("frgnName <>", value, "frgnname");
            return (Criteria) this;
        }

        public Criteria andFrgnnameGreaterThan(String value) {
            addCriterion("frgnName >", value, "frgnname");
            return (Criteria) this;
        }

        public Criteria andFrgnnameGreaterThanOrEqualTo(String value) {
            addCriterion("frgnName >=", value, "frgnname");
            return (Criteria) this;
        }

        public Criteria andFrgnnameLessThan(String value) {
            addCriterion("frgnName <", value, "frgnname");
            return (Criteria) this;
        }

        public Criteria andFrgnnameLessThanOrEqualTo(String value) {
            addCriterion("frgnName <=", value, "frgnname");
            return (Criteria) this;
        }

        public Criteria andFrgnnameLike(String value) {
            addCriterion("frgnName like", value, "frgnname");
            return (Criteria) this;
        }

        public Criteria andFrgnnameNotLike(String value) {
            addCriterion("frgnName not like", value, "frgnname");
            return (Criteria) this;
        }

        public Criteria andFrgnnameIn(List<String> values) {
            addCriterion("frgnName in", values, "frgnname");
            return (Criteria) this;
        }

        public Criteria andFrgnnameNotIn(List<String> values) {
            addCriterion("frgnName not in", values, "frgnname");
            return (Criteria) this;
        }

        public Criteria andFrgnnameBetween(String value1, String value2) {
            addCriterion("frgnName between", value1, value2, "frgnname");
            return (Criteria) this;
        }

        public Criteria andFrgnnameNotBetween(String value1, String value2) {
            addCriterion("frgnName not between", value1, value2, "frgnname");
            return (Criteria) this;
        }

        public Criteria andBuyunitmsrIsNull() {
            addCriterion("buyUnitMsr is null");
            return (Criteria) this;
        }

        public Criteria andBuyunitmsrIsNotNull() {
            addCriterion("buyUnitMsr is not null");
            return (Criteria) this;
        }

        public Criteria andBuyunitmsrEqualTo(String value) {
            addCriterion("buyUnitMsr =", value, "buyunitmsr");
            return (Criteria) this;
        }

        public Criteria andBuyunitmsrNotEqualTo(String value) {
            addCriterion("buyUnitMsr <>", value, "buyunitmsr");
            return (Criteria) this;
        }

        public Criteria andBuyunitmsrGreaterThan(String value) {
            addCriterion("buyUnitMsr >", value, "buyunitmsr");
            return (Criteria) this;
        }

        public Criteria andBuyunitmsrGreaterThanOrEqualTo(String value) {
            addCriterion("buyUnitMsr >=", value, "buyunitmsr");
            return (Criteria) this;
        }

        public Criteria andBuyunitmsrLessThan(String value) {
            addCriterion("buyUnitMsr <", value, "buyunitmsr");
            return (Criteria) this;
        }

        public Criteria andBuyunitmsrLessThanOrEqualTo(String value) {
            addCriterion("buyUnitMsr <=", value, "buyunitmsr");
            return (Criteria) this;
        }

        public Criteria andBuyunitmsrLike(String value) {
            addCriterion("buyUnitMsr like", value, "buyunitmsr");
            return (Criteria) this;
        }

        public Criteria andBuyunitmsrNotLike(String value) {
            addCriterion("buyUnitMsr not like", value, "buyunitmsr");
            return (Criteria) this;
        }

        public Criteria andBuyunitmsrIn(List<String> values) {
            addCriterion("buyUnitMsr in", values, "buyunitmsr");
            return (Criteria) this;
        }

        public Criteria andBuyunitmsrNotIn(List<String> values) {
            addCriterion("buyUnitMsr not in", values, "buyunitmsr");
            return (Criteria) this;
        }

        public Criteria andBuyunitmsrBetween(String value1, String value2) {
            addCriterion("buyUnitMsr between", value1, value2, "buyunitmsr");
            return (Criteria) this;
        }

        public Criteria andBuyunitmsrNotBetween(String value1, String value2) {
            addCriterion("buyUnitMsr not between", value1, value2, "buyunitmsr");
            return (Criteria) this;
        }

        public Criteria andSalunitmsrIsNull() {
            addCriterion("salUnitMsr is null");
            return (Criteria) this;
        }

        public Criteria andSalunitmsrIsNotNull() {
            addCriterion("salUnitMsr is not null");
            return (Criteria) this;
        }

        public Criteria andSalunitmsrEqualTo(String value) {
            addCriterion("salUnitMsr =", value, "salunitmsr");
            return (Criteria) this;
        }

        public Criteria andSalunitmsrNotEqualTo(String value) {
            addCriterion("salUnitMsr <>", value, "salunitmsr");
            return (Criteria) this;
        }

        public Criteria andSalunitmsrGreaterThan(String value) {
            addCriterion("salUnitMsr >", value, "salunitmsr");
            return (Criteria) this;
        }

        public Criteria andSalunitmsrGreaterThanOrEqualTo(String value) {
            addCriterion("salUnitMsr >=", value, "salunitmsr");
            return (Criteria) this;
        }

        public Criteria andSalunitmsrLessThan(String value) {
            addCriterion("salUnitMsr <", value, "salunitmsr");
            return (Criteria) this;
        }

        public Criteria andSalunitmsrLessThanOrEqualTo(String value) {
            addCriterion("salUnitMsr <=", value, "salunitmsr");
            return (Criteria) this;
        }

        public Criteria andSalunitmsrLike(String value) {
            addCriterion("salUnitMsr like", value, "salunitmsr");
            return (Criteria) this;
        }

        public Criteria andSalunitmsrNotLike(String value) {
            addCriterion("salUnitMsr not like", value, "salunitmsr");
            return (Criteria) this;
        }

        public Criteria andSalunitmsrIn(List<String> values) {
            addCriterion("salUnitMsr in", values, "salunitmsr");
            return (Criteria) this;
        }

        public Criteria andSalunitmsrNotIn(List<String> values) {
            addCriterion("salUnitMsr not in", values, "salunitmsr");
            return (Criteria) this;
        }

        public Criteria andSalunitmsrBetween(String value1, String value2) {
            addCriterion("salUnitMsr between", value1, value2, "salunitmsr");
            return (Criteria) this;
        }

        public Criteria andSalunitmsrNotBetween(String value1, String value2) {
            addCriterion("salUnitMsr not between", value1, value2, "salunitmsr");
            return (Criteria) this;
        }

        public Criteria andUnitcodeIsNull() {
            addCriterion("unitcode is null");
            return (Criteria) this;
        }

        public Criteria andUnitcodeIsNotNull() {
            addCriterion("unitcode is not null");
            return (Criteria) this;
        }

        public Criteria andUnitcodeEqualTo(String value) {
            addCriterion("unitcode =", value, "unitcode");
            return (Criteria) this;
        }

        public Criteria andUnitcodeNotEqualTo(String value) {
            addCriterion("unitcode <>", value, "unitcode");
            return (Criteria) this;
        }

        public Criteria andUnitcodeGreaterThan(String value) {
            addCriterion("unitcode >", value, "unitcode");
            return (Criteria) this;
        }

        public Criteria andUnitcodeGreaterThanOrEqualTo(String value) {
            addCriterion("unitcode >=", value, "unitcode");
            return (Criteria) this;
        }

        public Criteria andUnitcodeLessThan(String value) {
            addCriterion("unitcode <", value, "unitcode");
            return (Criteria) this;
        }

        public Criteria andUnitcodeLessThanOrEqualTo(String value) {
            addCriterion("unitcode <=", value, "unitcode");
            return (Criteria) this;
        }

        public Criteria andUnitcodeLike(String value) {
            addCriterion("unitcode like", value, "unitcode");
            return (Criteria) this;
        }

        public Criteria andUnitcodeNotLike(String value) {
            addCriterion("unitcode not like", value, "unitcode");
            return (Criteria) this;
        }

        public Criteria andUnitcodeIn(List<String> values) {
            addCriterion("unitcode in", values, "unitcode");
            return (Criteria) this;
        }

        public Criteria andUnitcodeNotIn(List<String> values) {
            addCriterion("unitcode not in", values, "unitcode");
            return (Criteria) this;
        }

        public Criteria andUnitcodeBetween(String value1, String value2) {
            addCriterion("unitcode between", value1, value2, "unitcode");
            return (Criteria) this;
        }

        public Criteria andUnitcodeNotBetween(String value1, String value2) {
            addCriterion("unitcode not between", value1, value2, "unitcode");
            return (Criteria) this;
        }

        public Criteria andKind1IsNull() {
            addCriterion("kind1 is null");
            return (Criteria) this;
        }

        public Criteria andKind1IsNotNull() {
            addCriterion("kind1 is not null");
            return (Criteria) this;
        }

        public Criteria andKind1EqualTo(String value) {
            addCriterion("kind1 =", value, "kind1");
            return (Criteria) this;
        }

        public Criteria andKind1NotEqualTo(String value) {
            addCriterion("kind1 <>", value, "kind1");
            return (Criteria) this;
        }

        public Criteria andKind1GreaterThan(String value) {
            addCriterion("kind1 >", value, "kind1");
            return (Criteria) this;
        }

        public Criteria andKind1GreaterThanOrEqualTo(String value) {
            addCriterion("kind1 >=", value, "kind1");
            return (Criteria) this;
        }

        public Criteria andKind1LessThan(String value) {
            addCriterion("kind1 <", value, "kind1");
            return (Criteria) this;
        }

        public Criteria andKind1LessThanOrEqualTo(String value) {
            addCriterion("kind1 <=", value, "kind1");
            return (Criteria) this;
        }

        public Criteria andKind1Like(String value) {
            addCriterion("kind1 like", value, "kind1");
            return (Criteria) this;
        }

        public Criteria andKind1NotLike(String value) {
            addCriterion("kind1 not like", value, "kind1");
            return (Criteria) this;
        }

        public Criteria andKind1In(List<String> values) {
            addCriterion("kind1 in", values, "kind1");
            return (Criteria) this;
        }

        public Criteria andKind1NotIn(List<String> values) {
            addCriterion("kind1 not in", values, "kind1");
            return (Criteria) this;
        }

        public Criteria andKind1Between(String value1, String value2) {
            addCriterion("kind1 between", value1, value2, "kind1");
            return (Criteria) this;
        }

        public Criteria andKind1NotBetween(String value1, String value2) {
            addCriterion("kind1 not between", value1, value2, "kind1");
            return (Criteria) this;
        }

        public Criteria andKind2IsNull() {
            addCriterion("kind2 is null");
            return (Criteria) this;
        }

        public Criteria andKind2IsNotNull() {
            addCriterion("kind2 is not null");
            return (Criteria) this;
        }

        public Criteria andKind2EqualTo(String value) {
            addCriterion("kind2 =", value, "kind2");
            return (Criteria) this;
        }

        public Criteria andKind2NotEqualTo(String value) {
            addCriterion("kind2 <>", value, "kind2");
            return (Criteria) this;
        }

        public Criteria andKind2GreaterThan(String value) {
            addCriterion("kind2 >", value, "kind2");
            return (Criteria) this;
        }

        public Criteria andKind2GreaterThanOrEqualTo(String value) {
            addCriterion("kind2 >=", value, "kind2");
            return (Criteria) this;
        }

        public Criteria andKind2LessThan(String value) {
            addCriterion("kind2 <", value, "kind2");
            return (Criteria) this;
        }

        public Criteria andKind2LessThanOrEqualTo(String value) {
            addCriterion("kind2 <=", value, "kind2");
            return (Criteria) this;
        }

        public Criteria andKind2Like(String value) {
            addCriterion("kind2 like", value, "kind2");
            return (Criteria) this;
        }

        public Criteria andKind2NotLike(String value) {
            addCriterion("kind2 not like", value, "kind2");
            return (Criteria) this;
        }

        public Criteria andKind2In(List<String> values) {
            addCriterion("kind2 in", values, "kind2");
            return (Criteria) this;
        }

        public Criteria andKind2NotIn(List<String> values) {
            addCriterion("kind2 not in", values, "kind2");
            return (Criteria) this;
        }

        public Criteria andKind2Between(String value1, String value2) {
            addCriterion("kind2 between", value1, value2, "kind2");
            return (Criteria) this;
        }

        public Criteria andKind2NotBetween(String value1, String value2) {
            addCriterion("kind2 not between", value1, value2, "kind2");
            return (Criteria) this;
        }

        public Criteria andKind3IsNull() {
            addCriterion("kind3 is null");
            return (Criteria) this;
        }

        public Criteria andKind3IsNotNull() {
            addCriterion("kind3 is not null");
            return (Criteria) this;
        }

        public Criteria andKind3EqualTo(String value) {
            addCriterion("kind3 =", value, "kind3");
            return (Criteria) this;
        }

        public Criteria andKind3NotEqualTo(String value) {
            addCriterion("kind3 <>", value, "kind3");
            return (Criteria) this;
        }

        public Criteria andKind3GreaterThan(String value) {
            addCriterion("kind3 >", value, "kind3");
            return (Criteria) this;
        }

        public Criteria andKind3GreaterThanOrEqualTo(String value) {
            addCriterion("kind3 >=", value, "kind3");
            return (Criteria) this;
        }

        public Criteria andKind3LessThan(String value) {
            addCriterion("kind3 <", value, "kind3");
            return (Criteria) this;
        }

        public Criteria andKind3LessThanOrEqualTo(String value) {
            addCriterion("kind3 <=", value, "kind3");
            return (Criteria) this;
        }

        public Criteria andKind3Like(String value) {
            addCriterion("kind3 like", value, "kind3");
            return (Criteria) this;
        }

        public Criteria andKind3NotLike(String value) {
            addCriterion("kind3 not like", value, "kind3");
            return (Criteria) this;
        }

        public Criteria andKind3In(List<String> values) {
            addCriterion("kind3 in", values, "kind3");
            return (Criteria) this;
        }

        public Criteria andKind3NotIn(List<String> values) {
            addCriterion("kind3 not in", values, "kind3");
            return (Criteria) this;
        }

        public Criteria andKind3Between(String value1, String value2) {
            addCriterion("kind3 between", value1, value2, "kind3");
            return (Criteria) this;
        }

        public Criteria andKind3NotBetween(String value1, String value2) {
            addCriterion("kind3 not between", value1, value2, "kind3");
            return (Criteria) this;
        }

        public Criteria andBrandnameIsNull() {
            addCriterion("brandName is null");
            return (Criteria) this;
        }

        public Criteria andBrandnameIsNotNull() {
            addCriterion("brandName is not null");
            return (Criteria) this;
        }

        public Criteria andBrandnameEqualTo(String value) {
            addCriterion("brandName =", value, "brandname");
            return (Criteria) this;
        }

        public Criteria andBrandnameNotEqualTo(String value) {
            addCriterion("brandName <>", value, "brandname");
            return (Criteria) this;
        }

        public Criteria andBrandnameGreaterThan(String value) {
            addCriterion("brandName >", value, "brandname");
            return (Criteria) this;
        }

        public Criteria andBrandnameGreaterThanOrEqualTo(String value) {
            addCriterion("brandName >=", value, "brandname");
            return (Criteria) this;
        }

        public Criteria andBrandnameLessThan(String value) {
            addCriterion("brandName <", value, "brandname");
            return (Criteria) this;
        }

        public Criteria andBrandnameLessThanOrEqualTo(String value) {
            addCriterion("brandName <=", value, "brandname");
            return (Criteria) this;
        }

        public Criteria andBrandnameLike(String value) {
            addCriterion("brandName like", value, "brandname");
            return (Criteria) this;
        }

        public Criteria andBrandnameNotLike(String value) {
            addCriterion("brandName not like", value, "brandname");
            return (Criteria) this;
        }

        public Criteria andBrandnameIn(List<String> values) {
            addCriterion("brandName in", values, "brandname");
            return (Criteria) this;
        }

        public Criteria andBrandnameNotIn(List<String> values) {
            addCriterion("brandName not in", values, "brandname");
            return (Criteria) this;
        }

        public Criteria andBrandnameBetween(String value1, String value2) {
            addCriterion("brandName between", value1, value2, "brandname");
            return (Criteria) this;
        }

        public Criteria andBrandnameNotBetween(String value1, String value2) {
            addCriterion("brandName not between", value1, value2, "brandname");
            return (Criteria) this;
        }

        public Criteria andModelIsNull() {
            addCriterion("model is null");
            return (Criteria) this;
        }

        public Criteria andModelIsNotNull() {
            addCriterion("model is not null");
            return (Criteria) this;
        }

        public Criteria andModelEqualTo(String value) {
            addCriterion("model =", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelNotEqualTo(String value) {
            addCriterion("model <>", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelGreaterThan(String value) {
            addCriterion("model >", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelGreaterThanOrEqualTo(String value) {
            addCriterion("model >=", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelLessThan(String value) {
            addCriterion("model <", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelLessThanOrEqualTo(String value) {
            addCriterion("model <=", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelLike(String value) {
            addCriterion("model like", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelNotLike(String value) {
            addCriterion("model not like", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelIn(List<String> values) {
            addCriterion("model in", values, "model");
            return (Criteria) this;
        }

        public Criteria andModelNotIn(List<String> values) {
            addCriterion("model not in", values, "model");
            return (Criteria) this;
        }

        public Criteria andModelBetween(String value1, String value2) {
            addCriterion("model between", value1, value2, "model");
            return (Criteria) this;
        }

        public Criteria andModelNotBetween(String value1, String value2) {
            addCriterion("model not between", value1, value2, "model");
            return (Criteria) this;
        }

        public Criteria andParameterIsNull() {
            addCriterion("parameter is null");
            return (Criteria) this;
        }

        public Criteria andParameterIsNotNull() {
            addCriterion("parameter is not null");
            return (Criteria) this;
        }

        public Criteria andParameterEqualTo(String value) {
            addCriterion("parameter =", value, "parameter");
            return (Criteria) this;
        }

        public Criteria andParameterNotEqualTo(String value) {
            addCriterion("parameter <>", value, "parameter");
            return (Criteria) this;
        }

        public Criteria andParameterGreaterThan(String value) {
            addCriterion("parameter >", value, "parameter");
            return (Criteria) this;
        }

        public Criteria andParameterGreaterThanOrEqualTo(String value) {
            addCriterion("parameter >=", value, "parameter");
            return (Criteria) this;
        }

        public Criteria andParameterLessThan(String value) {
            addCriterion("parameter <", value, "parameter");
            return (Criteria) this;
        }

        public Criteria andParameterLessThanOrEqualTo(String value) {
            addCriterion("parameter <=", value, "parameter");
            return (Criteria) this;
        }

        public Criteria andParameterLike(String value) {
            addCriterion("parameter like", value, "parameter");
            return (Criteria) this;
        }

        public Criteria andParameterNotLike(String value) {
            addCriterion("parameter not like", value, "parameter");
            return (Criteria) this;
        }

        public Criteria andParameterIn(List<String> values) {
            addCriterion("parameter in", values, "parameter");
            return (Criteria) this;
        }

        public Criteria andParameterNotIn(List<String> values) {
            addCriterion("parameter not in", values, "parameter");
            return (Criteria) this;
        }

        public Criteria andParameterBetween(String value1, String value2) {
            addCriterion("parameter between", value1, value2, "parameter");
            return (Criteria) this;
        }

        public Criteria andParameterNotBetween(String value1, String value2) {
            addCriterion("parameter not between", value1, value2, "parameter");
            return (Criteria) this;
        }

        public Criteria andColorIsNull() {
            addCriterion("color is null");
            return (Criteria) this;
        }

        public Criteria andColorIsNotNull() {
            addCriterion("color is not null");
            return (Criteria) this;
        }

        public Criteria andColorEqualTo(String value) {
            addCriterion("color =", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotEqualTo(String value) {
            addCriterion("color <>", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorGreaterThan(String value) {
            addCriterion("color >", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorGreaterThanOrEqualTo(String value) {
            addCriterion("color >=", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorLessThan(String value) {
            addCriterion("color <", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorLessThanOrEqualTo(String value) {
            addCriterion("color <=", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorLike(String value) {
            addCriterion("color like", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotLike(String value) {
            addCriterion("color not like", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorIn(List<String> values) {
            addCriterion("color in", values, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotIn(List<String> values) {
            addCriterion("color not in", values, "color");
            return (Criteria) this;
        }

        public Criteria andColorBetween(String value1, String value2) {
            addCriterion("color between", value1, value2, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotBetween(String value1, String value2) {
            addCriterion("color not between", value1, value2, "color");
            return (Criteria) this;
        }

        public Criteria andSuppcatnumIsNull() {
            addCriterion("suppCatNum is null");
            return (Criteria) this;
        }

        public Criteria andSuppcatnumIsNotNull() {
            addCriterion("suppCatNum is not null");
            return (Criteria) this;
        }

        public Criteria andSuppcatnumEqualTo(String value) {
            addCriterion("suppCatNum =", value, "suppcatnum");
            return (Criteria) this;
        }

        public Criteria andSuppcatnumNotEqualTo(String value) {
            addCriterion("suppCatNum <>", value, "suppcatnum");
            return (Criteria) this;
        }

        public Criteria andSuppcatnumGreaterThan(String value) {
            addCriterion("suppCatNum >", value, "suppcatnum");
            return (Criteria) this;
        }

        public Criteria andSuppcatnumGreaterThanOrEqualTo(String value) {
            addCriterion("suppCatNum >=", value, "suppcatnum");
            return (Criteria) this;
        }

        public Criteria andSuppcatnumLessThan(String value) {
            addCriterion("suppCatNum <", value, "suppcatnum");
            return (Criteria) this;
        }

        public Criteria andSuppcatnumLessThanOrEqualTo(String value) {
            addCriterion("suppCatNum <=", value, "suppcatnum");
            return (Criteria) this;
        }

        public Criteria andSuppcatnumLike(String value) {
            addCriterion("suppCatNum like", value, "suppcatnum");
            return (Criteria) this;
        }

        public Criteria andSuppcatnumNotLike(String value) {
            addCriterion("suppCatNum not like", value, "suppcatnum");
            return (Criteria) this;
        }

        public Criteria andSuppcatnumIn(List<String> values) {
            addCriterion("suppCatNum in", values, "suppcatnum");
            return (Criteria) this;
        }

        public Criteria andSuppcatnumNotIn(List<String> values) {
            addCriterion("suppCatNum not in", values, "suppcatnum");
            return (Criteria) this;
        }

        public Criteria andSuppcatnumBetween(String value1, String value2) {
            addCriterion("suppCatNum between", value1, value2, "suppcatnum");
            return (Criteria) this;
        }

        public Criteria andSuppcatnumNotBetween(String value1, String value2) {
            addCriterion("suppCatNum not between", value1, value2, "suppcatnum");
            return (Criteria) this;
        }

        public Criteria andMtartIsNull() {
            addCriterion("mtart is null");
            return (Criteria) this;
        }

        public Criteria andMtartIsNotNull() {
            addCriterion("mtart is not null");
            return (Criteria) this;
        }

        public Criteria andMtartEqualTo(String value) {
            addCriterion("mtart =", value, "mtart");
            return (Criteria) this;
        }

        public Criteria andMtartNotEqualTo(String value) {
            addCriterion("mtart <>", value, "mtart");
            return (Criteria) this;
        }

        public Criteria andMtartGreaterThan(String value) {
            addCriterion("mtart >", value, "mtart");
            return (Criteria) this;
        }

        public Criteria andMtartGreaterThanOrEqualTo(String value) {
            addCriterion("mtart >=", value, "mtart");
            return (Criteria) this;
        }

        public Criteria andMtartLessThan(String value) {
            addCriterion("mtart <", value, "mtart");
            return (Criteria) this;
        }

        public Criteria andMtartLessThanOrEqualTo(String value) {
            addCriterion("mtart <=", value, "mtart");
            return (Criteria) this;
        }

        public Criteria andMtartLike(String value) {
            addCriterion("mtart like", value, "mtart");
            return (Criteria) this;
        }

        public Criteria andMtartNotLike(String value) {
            addCriterion("mtart not like", value, "mtart");
            return (Criteria) this;
        }

        public Criteria andMtartIn(List<String> values) {
            addCriterion("mtart in", values, "mtart");
            return (Criteria) this;
        }

        public Criteria andMtartNotIn(List<String> values) {
            addCriterion("mtart not in", values, "mtart");
            return (Criteria) this;
        }

        public Criteria andMtartBetween(String value1, String value2) {
            addCriterion("mtart between", value1, value2, "mtart");
            return (Criteria) this;
        }

        public Criteria andMtartNotBetween(String value1, String value2) {
            addCriterion("mtart not between", value1, value2, "mtart");
            return (Criteria) this;
        }

        public Criteria andEcPreviewUrlIsNull() {
            addCriterion("ec_preview_url is null");
            return (Criteria) this;
        }

        public Criteria andEcPreviewUrlIsNotNull() {
            addCriterion("ec_preview_url is not null");
            return (Criteria) this;
        }

        public Criteria andEcPreviewUrlEqualTo(String value) {
            addCriterion("ec_preview_url =", value, "ecPreviewUrl");
            return (Criteria) this;
        }

        public Criteria andEcPreviewUrlNotEqualTo(String value) {
            addCriterion("ec_preview_url <>", value, "ecPreviewUrl");
            return (Criteria) this;
        }

        public Criteria andEcPreviewUrlGreaterThan(String value) {
            addCriterion("ec_preview_url >", value, "ecPreviewUrl");
            return (Criteria) this;
        }

        public Criteria andEcPreviewUrlGreaterThanOrEqualTo(String value) {
            addCriterion("ec_preview_url >=", value, "ecPreviewUrl");
            return (Criteria) this;
        }

        public Criteria andEcPreviewUrlLessThan(String value) {
            addCriterion("ec_preview_url <", value, "ecPreviewUrl");
            return (Criteria) this;
        }

        public Criteria andEcPreviewUrlLessThanOrEqualTo(String value) {
            addCriterion("ec_preview_url <=", value, "ecPreviewUrl");
            return (Criteria) this;
        }

        public Criteria andEcPreviewUrlLike(String value) {
            addCriterion("ec_preview_url like", value, "ecPreviewUrl");
            return (Criteria) this;
        }

        public Criteria andEcPreviewUrlNotLike(String value) {
            addCriterion("ec_preview_url not like", value, "ecPreviewUrl");
            return (Criteria) this;
        }

        public Criteria andEcPreviewUrlIn(List<String> values) {
            addCriterion("ec_preview_url in", values, "ecPreviewUrl");
            return (Criteria) this;
        }

        public Criteria andEcPreviewUrlNotIn(List<String> values) {
            addCriterion("ec_preview_url not in", values, "ecPreviewUrl");
            return (Criteria) this;
        }

        public Criteria andEcPreviewUrlBetween(String value1, String value2) {
            addCriterion("ec_preview_url between", value1, value2, "ecPreviewUrl");
            return (Criteria) this;
        }

        public Criteria andEcPreviewUrlNotBetween(String value1, String value2) {
            addCriterion("ec_preview_url not between", value1, value2, "ecPreviewUrl");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameIsNull() {
            addCriterion("invoice_Name is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameIsNotNull() {
            addCriterion("invoice_Name is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameEqualTo(String value) {
            addCriterion("invoice_Name =", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameNotEqualTo(String value) {
            addCriterion("invoice_Name <>", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameGreaterThan(String value) {
            addCriterion("invoice_Name >", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_Name >=", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameLessThan(String value) {
            addCriterion("invoice_Name <", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameLessThanOrEqualTo(String value) {
            addCriterion("invoice_Name <=", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameLike(String value) {
            addCriterion("invoice_Name like", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameNotLike(String value) {
            addCriterion("invoice_Name not like", value, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameIn(List<String> values) {
            addCriterion("invoice_Name in", values, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameNotIn(List<String> values) {
            addCriterion("invoice_Name not in", values, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameBetween(String value1, String value2) {
            addCriterion("invoice_Name between", value1, value2, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andInvoiceNameNotBetween(String value1, String value2) {
            addCriterion("invoice_Name not between", value1, value2, "invoiceName");
            return (Criteria) this;
        }

        public Criteria andTaxRateTextIsNull() {
            addCriterion("tax_rate_text is null");
            return (Criteria) this;
        }

        public Criteria andTaxRateTextIsNotNull() {
            addCriterion("tax_rate_text is not null");
            return (Criteria) this;
        }

        public Criteria andTaxRateTextEqualTo(String value) {
            addCriterion("tax_rate_text =", value, "taxRateText");
            return (Criteria) this;
        }

        public Criteria andTaxRateTextNotEqualTo(String value) {
            addCriterion("tax_rate_text <>", value, "taxRateText");
            return (Criteria) this;
        }

        public Criteria andTaxRateTextGreaterThan(String value) {
            addCriterion("tax_rate_text >", value, "taxRateText");
            return (Criteria) this;
        }

        public Criteria andTaxRateTextGreaterThanOrEqualTo(String value) {
            addCriterion("tax_rate_text >=", value, "taxRateText");
            return (Criteria) this;
        }

        public Criteria andTaxRateTextLessThan(String value) {
            addCriterion("tax_rate_text <", value, "taxRateText");
            return (Criteria) this;
        }

        public Criteria andTaxRateTextLessThanOrEqualTo(String value) {
            addCriterion("tax_rate_text <=", value, "taxRateText");
            return (Criteria) this;
        }

        public Criteria andTaxRateTextLike(String value) {
            addCriterion("tax_rate_text like", value, "taxRateText");
            return (Criteria) this;
        }

        public Criteria andTaxRateTextNotLike(String value) {
            addCriterion("tax_rate_text not like", value, "taxRateText");
            return (Criteria) this;
        }

        public Criteria andTaxRateTextIn(List<String> values) {
            addCriterion("tax_rate_text in", values, "taxRateText");
            return (Criteria) this;
        }

        public Criteria andTaxRateTextNotIn(List<String> values) {
            addCriterion("tax_rate_text not in", values, "taxRateText");
            return (Criteria) this;
        }

        public Criteria andTaxRateTextBetween(String value1, String value2) {
            addCriterion("tax_rate_text between", value1, value2, "taxRateText");
            return (Criteria) this;
        }

        public Criteria andTaxRateTextNotBetween(String value1, String value2) {
            addCriterion("tax_rate_text not between", value1, value2, "taxRateText");
            return (Criteria) this;
        }

        public Criteria andTaxCodeIsNull() {
            addCriterion("tax_code is null");
            return (Criteria) this;
        }

        public Criteria andTaxCodeIsNotNull() {
            addCriterion("tax_code is not null");
            return (Criteria) this;
        }

        public Criteria andTaxCodeEqualTo(String value) {
            addCriterion("tax_code =", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeNotEqualTo(String value) {
            addCriterion("tax_code <>", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeGreaterThan(String value) {
            addCriterion("tax_code >", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tax_code >=", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeLessThan(String value) {
            addCriterion("tax_code <", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeLessThanOrEqualTo(String value) {
            addCriterion("tax_code <=", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeLike(String value) {
            addCriterion("tax_code like", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeNotLike(String value) {
            addCriterion("tax_code not like", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeIn(List<String> values) {
            addCriterion("tax_code in", values, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeNotIn(List<String> values) {
            addCriterion("tax_code not in", values, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeBetween(String value1, String value2) {
            addCriterion("tax_code between", value1, value2, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeNotBetween(String value1, String value2) {
            addCriterion("tax_code not between", value1, value2, "taxCode");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Long value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Long value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Long value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Long value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Long value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Long value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Long> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Long> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Long value1, Long value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Long value1, Long value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("create_user is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("create_user is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("create_user =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("create_user <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("create_user >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("create_user >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("create_user <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("create_user <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("create_user like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("create_user not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("create_user in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("create_user not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("create_user between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("create_user not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Long value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Long value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Long value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Long value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Long value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Long value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Long> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Long> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Long value1, Long value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Long value1, Long value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("update_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("update_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("update_user =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("update_user <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("update_user >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("update_user >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("update_user <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("update_user <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("update_user like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("update_user not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("update_user in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("update_user not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("update_user between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("update_user not between", value1, value2, "updateUser");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}